﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Articles
{
    public partial class Login : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack )
            {
                ts.Text = "";
            }
        }

        protected void Lg_DataBinding(object sender, EventArgs e)
        {

            var usn = Lg.UserName.Trim();
            var pwd = Lg.Password.Trim();
            var sqlOther = string.Format("select * from Users where usersname='{0}'", usn);
            var dtOther = DbHelp.CRUD(sqlOther);

        }
    }
}